import '../request.dart';
class UserApi{
  /// 获取权限列表
  getUser(param) async {
    /// 开启日志打印
    Request.instance?.openLog();

    /// 发起网络接口请求
    var result = await Request().request('/user/getUsers', method: DioMethod.post,data:param);

    // 返回数据
    return result['data'];
  }
}

final userApi = UserApi();